package com.demo.auth.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author MyPC
 */
@Data
@ApiModel("注册表单")
public class RegisterForm {

    @ApiModelProperty(value = "账号（必填）", required = true)
    @NotEmpty(message = "请填写账号")
    private String uk;

    @ApiModelProperty(value = "密码（账号密码注册必填）")
    private String pk;

    @ApiModelProperty(value = "确认密码（账号密码注册必填）")
    private String cpk;

    @ApiModelProperty(value = "rsa秘钥id（加密传输的秘钥id索引）")
    private String rkId;
}
